package com.wang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/*
* SpringBootApplication Springboot的核心注解 该注解表示这个应用是一个springboot应用
* 会自动启动IOC容器并注册相关组件
*
* */
@SpringBootApplication
// 扫描dao接口
@MapperScan("com.wang.mapper")
public class MavenDemo04SpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(MavenDemo04SpringbootApplication.class, args);
    }

}
